package com.mordenx.action;

import com.mordenx.entity.Person;
import com.mordenx.service.PersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class PersonAction {
    @Autowired
    PersonService personService;

    public void insertPerson(Person person){
         personService.insertPerson(person);
    }
}
